#ifndef __SCNS_ACCNT_QY1503_H__
#define __SCNS_ACCNT_QY1503_H__

#include "ScnsConfig.h"

#if defined(SCNS_ACCNT_QY1503_ENABLE)&&SCNS_ACCNT_QY1503_ENABLE==1

#include "ScnsYing.h"
#include "ScnsBspAccntQy1503.h"

typedef struct
{
    uint16 value;
    float angle;
    int16 dValue;
    float dAngle;
    int64 iValue;
    float iAngle;
    float dAngleT;
}ScnsAccntQy1503Result;

extern ScnsAccntQy1503Result scnsAccntQy1503Result[SCNS_ACCNT_QY1503_MAX];

extern ScnsStatus scnsAccntQy1503Init(ScnsAccntQy1503Enum accN);
extern void scnsAccntQy1503Interrupt(ScnsAccntQy1503Enum accN);
extern void scnsAccntQy1503SetZero(ScnsAccntQy1503Enum accN);
#endif
#endif
